<?php
      // Right part menu items
      
      $num_unread = $this->modules->getNumUnreadMessages();
      $message_active = ( $num_unread>0 )?" class='active' ":"";          
      
      $num_friend_request = $this->modules->getNumMyFriendRequest();
      $request_active = ($num_friend_request>0)?" class='active' ":"";
      
      $num_non_reply_pokes = $this->modules->getNumNonReplyPokes();
      $pokes_active = ($num_non_reply_pokes>0)?" class='active' ":"";
      
      $num_non_view_presents = $this->modules->getNumNonViewPresents();
      $presents_active = ($num_non_view_presents>0)?" class='active'  ":"";
?>

      <ul class="profil-menu">
          <li class="request"><a <?php echo $request_active; ?> href="<?php echo base_url(); ?>friends.htm" title='<?php echo lang('new_friend_request'); ?>'></a></li>
          
          <li class="message"><a <?php echo $message_active; ?>  href="<?php echo base_url(); ?>conversation/conversation-list.htm" title='<?php echo lang('my_messages'); ?>' ></a></li>
          
          <li class="presents"><a <?php echo $presents_active; ?> href="<?php echo base_url(); ?>presents.htm"></a></li>
          
          <li class="poke"><a <?php echo $pokes_active; ?> href="<?php echo base_url(); ?>pokes.htm"></a></li>
      </ul>
      
